I'm trying to detect when an element has been created in Lua. I checked the wiki events section and only found some mouse clicks and some other functions. Maybe I'm blind, but I can't find anything about this when searching on google either. Can somebody help?
elem.property(myelement, "Create", function(i, x, y, typ, v)
-- Do something
end)
Thanks, I was going to make an energy particle but wasn't sure how to only make it move on creation.