Browse docsps5.square
On this page
Controller constant

ps5.square

PS5 controller-name constant for the square control.

Syntax

Atlas Script
ps5.square

Value

ps5.square identifies the square control on PS5 hardware.

Remarks

PS5 controller-name constant for the square 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.square);
}
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.