a few things i didnt mention before are that you are going to want to make sure you factor in the duration of the powerups and make sure that they can only be used once as in they dont stack and they disappear when used (this of course depends on your game but as a generality its something to think about). ive shown a little bit of this in the invulnerability example, there i hid the actor once used (set hidden in game) and i used a delay for the duration of the buff then reset the affected trait before destroying the actor (you may also need to disable collision when hiding the actor).

