This function returns the Time Source of the given Time Source's parent.
The returned value may be a custom Time Source, or one of the Built-In Time Sources, depending on how the given Time Source was created.
time_source_get_parent(id);
Argument | Type | Description |
---|---|---|
id | Time Source | The Time Source to get the parent of |
var _parent = time_source_get_parent(time_source);
This code gets the parent of a Time Source and stores it in a local variable.