ReferenceScripting APIMotionSceneoff
MotionScene.off
methodStops listening.
| Name | off |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.off(…) |
| Since | 0.4 |
Syntax
off<E extends keyof MotionEvents>( event: E, fn: MotionEvents[E]): voidParameters
| Name | Type | Description |
|---|---|---|
event | E | The event |
fn | MotionEvents[E] | The function scene.on was given |
Returns
Nothing.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.