Get image position and remove self on table of objects?

Resolve the first error, then you may find the second error disappears as it may be caused, in part, by the first error. [import]uid: 8271 topic_id: 33131 reply_id: 131734[/import]

Can you suggest me how to approach the resolution of the first error [import]uid: 183447 topic_id: 33131 reply_id: 131737[/import]

Just putting some simple print statements into the top of each function showed me that your ‘main()’ and ‘init()’ functions never get called, so the ‘emit1’ variable never gets set.

Just FYI - lua is not like C… main() will not get called as the starting point… main.lua gets called as the starting point. If you want a function called main() to be called you have to do it yourself. [import]uid: 8271 topic_id: 33131 reply_id: 131741[/import]