Why does actor start at different place?
Cowuniverse
Member, PRO Posts: 97
I have a actor centered in the scene, but when I preview it goes to the far bottom left. All I have added was constrain its position to touch.
Best Answer
-
tatiang Posts: 11,949
Attributes have to have some value and most attributes' default value is zero. So if you constrain an actor's position to x=0 y=0 it will be at the bottom left of the scene.
What you need to do is place that constrain behavior inside of a When Touch is Pressed or When Mouse Button is down rule (your choice) so that it doesn't constrain the position until the mouse is clicked or the screen is tapped.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User