libgdx check actor = stage.hit(..) as null -


i facing problem while checking stage.hit(..) actor or null

actor actor = stage.hit(touchpoint.x, touchpoint.y, true); if(null != actor){ // } 

here after debugging come know actor getting null still control going if loop

is wrong in above code ??

thanks


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -

python - Received unregistered task using Celery with Django -