Skip to content

Refresh User Interface Element Context

Refresh User Interface Element Context

Refreshes the context on a specific user interface element, causing it to reload its data.

Properties

System

Name Explanation Type
User Interface Element The unique ID of the user interface element to refresh. Variable or Value

Examples

Refresh a User Interface Element by Unique ID in Global Variable 0

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

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