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 Class

    How i can do this?

    Sorry for my bad english :(
    Thanks in advance.

Log in to reply

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.