Browse docsps5.player.clear
On this page
API method

ps5.player.clear

Sends a zero Remote Play player-LED mask.

Syntax

Atlas Script
ps5.player.clear()

Parameters

This method does not accept arguments.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Sends a zero Remote Play player-LED mask.

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.