Description
The Screen to Object behavior will cause the screen (visible screen space) to move to the specified object so it centered on the screen.
This behavior will trigger an event once the screen has stopped moving.
Properties
Triggers on Completion
Object A |
This is the object you want the screen to focus on. By default the current object is selected. You can change this to any other object in your scene by tapping the graphic and choosing another object. |
Anchor |
Offset the position of center of the screen. This will change where the screen focuses on. By default this is set to the center of your object (50%,50%). You can change the number manually, or visually by moving the blue target when selecting the object. |
Transition |
The tween effect used for the screen movement animation. This is only visible if the duration is greater than 0. |
Duration |
This is how long it will take for the screen to finish moving. |
Moves X |
If the toggle is off the screen will not move horizontally along the X axis. By default the toggle is on. |
Follows Y |
If the toggle is off the screen will not move vertically along the Y axis. By default the toggle is on. |
Outputs
Object ID |
This outputs the Object ID. |
Examples
If you have a hint in your level and want to put focus on that, you can use this behavior to focus on that hint, then move the screen back after a second.
0 Comments