ExperimentalReadonly ExperimentalcapabilitiesBitmask of optional capabilities. Test with hasCapability() or ControllerCapability values.
Readonly ExperimentalidUnique identifier for this controller within the current session.
Readonly ExperimentalnameHuman-readable name of the controller.
Readonly ExperimentaltypeThe controller family. Use to display platform-appropriate button labels.
StaticgetExperimentalReturns the name of this object's type.
ExperimentalReturns whether this controller supports a specific capability (e.g. motion sensors, touchpad, analog triggers).
ExperimentalReturns true if the object matches or derives from the passed in type.
ExperimentalReturns true if this object is the same as other. Useful for checking if two references point to the same thing.
Metadata describing a connected game controller.
Since
Lens Scripting Version 373
Snap OS
Example