How do I make "vectorToAngle(..,..)" command work on scrollable scenes?
![LavitzBr](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
How do I make "vectorToAngle(self.position.x-game.Mouse.position.x, self.position.y-game.Mouse.position.y)" work on scrollable scenes?
Thanks.
Thanks.
Best Answers
-
lukey5227 Posts: 111
Open the Background Layer Section. This should show you all your actors (unless you have sorted otherwise). You can uncheck the main "Background" checkmark and start checking your background without changing the actor using VectorToAngle. -
lukey5227 Posts: 111
On background, uncheck it and check sky. Now, all of the background layer group will be unchecked except the ones checked: sky. Why do you need to move player to the HUD anyway? It shouldn't be there. -
lukey5227 Posts: 111
You see the word "Background" with a checkmark next to it right? Uncheck that. Now click on the arrow on the left side of "Background". That should show you all your actors. Check your Sky actor.
Answers
Do you get it?