1 | function object_get_depth(argument0) //gml_Script_object_get_depth |
2 | { |
3 | var objID = argument0 |
4 | var ret = 0 |
5 | if (objID >= 0 && objID < array_length_1d(global.__objectID2Depth)) |
6 | ret = global.__objectID2Depth[objID] |
7 | return ret; |
8 | } |