So,
I try to setVisible = false to parentSprite, parentSprite has a child which is childSprite. but the childSprite:isVisible() return true. is this the expected behaviour? i mean when a parent isn't visible on the screen, then the child mustn't be visible too right?
thanks
Comments
Yes, you're right. Although childSprite won't be visible on screen it is still marked as visible by it's visibility flag. One of the first helper functions I wrote was this:
best regards
all right. i'll check your code.
and i suggest it should be reflected in the reference document