Snippet
actor.bringToFront();
computational shortcut level 1 -
if(!isHUD)
{
Engine.engine.bringToFront(this);
actor.moveToTop();
}
computational shortcut level 2 -allows anchored-to screeen actors sprites
actor.moveToTop();
The video below shows the item icons are anchored to screen, so cannot be moved to front via preview code syntax or snippets. it requires computational shortcut to bypass if(!isHUD).

No comments:
Post a Comment