Browse docslightbar.reset
On this page
API method

lightbar.reset

Releases script lightbar ownership back to the Remote Play console.

Syntax

Atlas Script
lightbar.reset()

Parameters

This method does not accept arguments.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Releases script lightbar ownership back to the Remote Play console. Non-Remote-Play hosts reject feedback.

Examples

Set and reset the lightbar.atlas
event on_input() {
    if (input.pressed("up")) {
        lightbar.set(rgb.blue);
    }
    if (input.pressed("down")) {
        lightbar.reset();
    }
}
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.