How to rotate Layer with cursor position

The triangle is always going to rotate towards the cursor. The camera rotates in the same direction as the triangle. This means any object appears to rotate in the opposite direction because it is positioned relative to the camera.

To understand this better, try it with the camera on your phone. Put your phone in landscape mode so your eyes line up along the length. Then slowly spin the phone around, and keep your eyes in the same position relative to the phone (i.e. spin your head along with the phone). The scene on the phones camera rotates in the opposite direction relative to the screen.


My question is why do you need the whole layer to rotate? Do you just need the red and green objects to rotate with the triangle? If so, use the sticker extension on them, and save yourself a headache in logic.