Used to listen for the player activating or releasing certain inputs. The input is defined by the Input option. Players can configure the key for the input in the Creative Input Actions section of the Keyboard Settings.
Verse using statement |
using { /Fortnite.com/Devices } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with creative_object
:
Name | Description |
---|---|
creative_object |
Base class for creative devices and props. |
creative_device_base |
Base class for creative_device. |
Members
This class has both data members and functions.
Data
Data Member Name | Type | Description |
---|---|---|
PressedEvent |
listenable(payload) |
Signaled when the tracked input is pressed by an |
ReleasedEvent |
listenable(payload) |
Signaled when the tracked input is released by an |
Functions
Function Name | Description |
---|---|
Disable |
Disables this device. A disabled Input Trigger will not listen for inputs and will never show on the HUD. |
Enable |
Enables this device. An Input Trigger will listen for inputs from players that meet the device requirements. |
GetTransform |
Returns the transform of the |
IsHeld |
Succeeds if |
MoveTo |
Moves the |
MoveTo |
Moves the |
Register |
Adds |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |
Unregister |
Removes |
UnregisterAll |
Clears the list of registered players. Registered Player Behavior determines whether registered players meet the device requirements. |