We attached them to the fence with double sided tape. They give off a pretty pattern of rays on the fence. Bright light that lasts for many hours. Very happy with this purchase. *****