Browse docsinput.trigger
On this page
API method

input.trigger

Returns L2/R2 or LT/RT trigger pressure from 0 to 100.

Syntax

Atlas Script
input.trigger(trigger)

Parameters

trigger
Trigger selector or platform trigger constant that identifies the trigger to read or change.

Return value

Returns L2/R2 or LT/RT trigger pressure from 0 to 100.

Remarks

Returns L2/R2 or LT/RT trigger pressure from 0 to 100. This specialized trigger reader remains available; input.get(control) is the unified numeric getter for both digital buttons and triggers.

Examples

Usage pattern
// Replace trigger with values described above.
input.trigger(trigger);
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.