Play Sensor
Play Sensor
Type | Script block |
Collider | None |
Folder | Control |
Ports | |
---|---|
Inputs | Before |
Outputs | On Play After |
Executes the scripts connected to On Play only on the first tick. Useful for initialization.
Notes
- The Play Sensor is often described as "only executing once", but it actually can execute multiple times, if its Before wire is triggered multiple times during the first tick.
- Likewise, if its Before wire is connected to another block and it does not get triggered during the first tick, the Play Sensor will never trigger its On Play output.