ios - How to retrieve position of a sprite by name -


I have created a loop that creates multiple sprites (SKSpriteNode * spritebutton) Specifies different names (@ "1", @ "2", @ "3", etc.) and various posts on the screen.

Now, how can I retrieve the position.x and position.yx of the given phantom in the series, do we call Sprite Number 1?

Thanks

childNodeWithName: method is a Looking for for more information,.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -