I have a set of actions that trigger a call to addObject where I pass in a table structure that has
x, y, name and a couple of other values
Later I call getObject to be able to determine the type of object previously placed.
The call looks like:
mte.getObject({ locX = n, locY = n})
The function mte.getObject(options) appears to have a requirement that the object previously added has a .height and a .width property:
Line 1982 - if options.locX \>= ceil((object.x + 1) / tWorldScaleX) and options.locX \<= ceil((object.x + object.width) / tWorldScaleX)
Am I doing something wrong here or does addObject have to provide height and width?