Change the direction of the axes of a game object.
Time Based #
Not a time-based block (won’t take time to finish execution).
This block has 3 Inputs
- Sequential Input
- GameObject: The game object to set its direction. If connected to a game object it overrides the game object you are writing the code inside. If not, by default, it is the object you are writing code inside.
- Direction: The new direction to be set.
This block has only one Sequential Output.
Current: This option enables the code to work, only if the code is written inside the script of the selected Button itself.