Hello, here is the capx dropbox.com/s/xlnxcuxbswd08xv/Platform%20Capx.capx.
The game it's in spanish because it's a large project. However I deleted some objects to make file size smaller and I just keep the important ones (the bee and the player)
As you can see in the events, when you touch the bee you lose a heart and the variable "invencible" is set to 1.
When that variable is 1, the group "Player" is deactivated and there is a wait 2 seconds action, then the variable is set to 0
When the variable is 0, the group is activated again.
I tried at this way, and when I touch the bee my character flashes for 2 seconds an he becomes invencible while he flashes, but then I can touch the bee constantly and I lose all my hearts, I think it ignores the "wait" action after the first 2 seconds but I'm not sure.
What are your suggestions? :)
Thank you very much.