Updated Play Sensor.md (markdown)
commited
commit
41cecfe2ae70b2152f9aa81e12afac98f1ebb443
... | ... | @@ -1,3 +1,11 @@ |
1 | Executes the scripts connected to it only once when the level starts. |
|
1 | Executes the scripts connected to it only on the first tick. Useful for initialization. |
|
2 | 2 | |
3 | [[/uploads/Playsensor.png]] |
|
... | ... | \ No newline at end of file |
0 | Output: |
|
1 | - On Play: Triggers if the current tick is the first tick. |
|
2 | ||
3 | [[/uploads/Playsensor.png]] |
|
4 | ||
5 | ## Notes |
|
6 | ||
7 | - The Play Sensor is often described as "only executing once", but it actually can execute multiple times, if its "before" wire is connected to another block and it is triggered multiple times during the first tick. |
|
8 | - Likewise, if its "before" wire is connected to another block and it _doesn't_ get triggered during the first tick, the Play Sensor will _never_ trigger its "On Play" output. |