On this page
ps5.r2
PS5 controller-name constant for the r2 control.
Syntax
Atlas Script
ps5.r2Value
ps5.r2 identifies the r2 control on PS5 hardware.
Remarks
PS5 controller-name constant for the r2 control. Use it with input.get, input.pressed, input.held, input.released, or the matching output APIs.
Examples
Atlas Script
event on_input() {
var value = input.get(ps5.r2);
}