if getObject("Scenes[name].SceneObjects[name]"):getLink(VObjectSprite):isEmpty() then -- it's empty (true) else -- object has sprite (false) end