Table of Contents
Description #
Make an object move in a direction for a given distance in a given amount of time after a specific event.
Time Based #
This is a Time-Based block (takes time to execute and holds the code sequence following it until it finishes executing).
Inputs #
This block has 5 Inputs:
- Sequential Input.
- GameObject: The object to Move. 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 target Direction to move in.
- Distance: The distance that the object will move in that direction. If it was connected to an Integer variable it overrides the value of the Distance.
- Time: The Time taken to cut that distance. If connected to an Integer or a Float variable it overrides the value of the Time.
Outputs #
This block has only one Sequential Output.