How to deal with FlxSprite separately in FlxGroup
-
Hi Guys,
I need some help, i have a FlxTypedGroup<FlxSprite> that contains square sprites, and what i want is, if the mouse or an sprite overlaps one or more of this square sprites, this alpha attribute set = 1, and when the mouse or a sprite dont overlap this sprites, this alpha attribute set=0
My FlxTypedGroup<FlxSprite> is _humansquares:FlxTypedGroup<FlxSprite>
and it contains the Object Square, that is an FlxSprite ClassHow i can do this?
Sorry for my bad english :(
Thanks in advance.