Files
website/docs-archive/stardust-protocol/server/objects/input.md
2024-08-21 12:47:46 +02:00

1.0 KiB
Executable File

/input

Object managing input and interaction.

Signals

registerInputHandler(string name, string field, string spacePath, Vector3 position, Quat rotation, string callbackPath, string callbackMethod)

Creates a new InputHandler with the specified name and field, located relative to the space referenced in spacePath and the postion + rotation.

Methods

Vector<Vector<string inputHandlerUUID, Vector3 position>> getInputHandlers(string spacePath, bool excludeSelf)

Returns a list of all InputHandler UUIDs and their positions (relative to the space at spacePath), as well as puts aliases to those handlers in /input/global_handler/[UUID]. Excludes handlers from this client if excludeSelf is true.