Differentiating between on-screen objects

Hi guys,
I was wondering how I would go about giving more specific commands to on-screen objects. For example, I have the program generate three identical trees at random locations. How can I give the third tree a command to rotate 90 degrees, without rotating the rest?’
Thanks!

When you create the objects, you can add a condition to know if this object is the third or not.
Example 1, with a count variable you know the amount of Tree added:

At the beginning of the scene | Variable count = 1 Repeat 3 times: No condition | Add Tree at X;Y | Variable count + 1 Variable count = 3 | Tree.Direction() = 90

Example 2, with the number of object condition:

At the beginning of the scene | No action Repeat 3 times: No condition | Add Tree at X;Y Number of Tree = 3 | Tree.Direction() = 90

Thank you so much. This is exactly what i needed.