Found this anole in Yucatan. I am not sure of its exact species - probably an Anolis sp..

Anoles often sleep at the tips of leaves and twigs. My guess is that this is a strategy to prevent nocturnal predators sneaking up on them through the branches without making its bed vibrate. When woken up they can quickly drop down.