Reordering a bit.

This commit is contained in:
TheGreenTie
2020-03-01 18:30:44 -06:00
parent eccd3eccec
commit d9f123b438
9263 changed files with 1393 additions and 62623 deletions

View File

@@ -0,0 +1,10 @@
/// @description Returns the depth of the specified object.
/// @param {Number} obj The index of the object to check
/// @return {Number} depth of the object
var objID = argument0;
var ret = 0;
if (objID >= 0) && (objID < array_length_1d(global.__objectID2Depth)) {
ret = global.__objectID2Depth[objID];
} // end if
return ret;

View File

@@ -0,0 +1,8 @@
{
"id": "47499278-a397-46b2-ab97-0c5fc9c1e1cc",
"modelName": "GMScript",
"mvc": "1.0",
"name": "object_get_depth",
"IsCompatibility": true,
"IsDnD": false
}