Skip to content

Refresh Overlay

Refresh Overlay

Refreshes the context of an open overlay, causing it to reload its data.

Properties

System

Name Explanation Type
Overlay ID The unique ID of the overlay to refresh. Variable or Value

Examples

Refresh an Overlay by Unique ID in Global Variable 0

This refreshes the overlay whose unique ID is stored in Global Variable 0, causing it to reload its data.

refresh_overlay($gv[0]);
{"Data":{"OverlayID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.UserInterface.RefreshOverlayCommand"}