ReferenceScripting APIMotionScenerequestInput
MotionScene.requestInput
methodAsks for the keyboard and pointer, as a game layer does: the person gives them with a click on the scene's Play, and key and pad are heard while it has them.
| Name | requestInput |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.requestInput(…) |
| As a node | Request Input (logic graph) |
| Since | 0.4 |
Syntax
requestInput(): voidReturns
Nothing.
Remarks
Keys are never heard on the plain desktop: a wallpaper can't read what's typed into other windows.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.