Get synced var

Returns the persistent global variable from that player slot, set by

Syntax
get_synced_var( player );

Returns
int (value set via set_synced_var)

Basic
// Called from init.gml: // This character gets a slower dash speed and higher jump if something has changed its synced variable to 1 before the match starts, likely as a custom menu option: if (get_synced_var(player) == 1) { dash_speed -= 2; jump_speed += 3; }