Browse docsps5.player.set
On this page
API method

ps5.player.set

Sends a Remote Play player indicator from 0 to 4; values clamp and 0 turns it off.

Syntax

Atlas Script
ps5.player.set(number)

Parameters

number
Player or slot number used by the console feedback API.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Sends a Remote Play player indicator from 0 to 4; values clamp and 0 turns it off.

Examples

Set the player indicator.atlas
event on_input() {
    if (input.pressed("up")) {
        ps5.player.set(1);
    }
    if (input.pressed("down")) {
        ps5.player.clear();
    }
}
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.