Thank you very much for helping me and solving my problem, so I will delete my variable, I looked at an example and there is a variable, I was convinced that one was needed, thanks to you now I know that there is not always a need for a variable.
No Problem mate Glad it helped you
Yeah is not always necessary the Variables its all depends on the situation.
But even if you ever need to use Variables for something Else here is a few things to keep in mind:
Are not linked to any Object, doesn't matter how much you change the Global Variables it will not affect any object unless you link the Object with the "Global Variable"
Set "Global Variable" to 100 <<<<< This by itself it will not affect any object or anything on the Game
But if you do instead
Set "Global Variable" to 100
SubEvent: Pick Enemy (Your Enemy): Action Set Enemy "Health" to "Global Variable"
This will set the Enemy Health to 100 or whichever Value that holds the "Global Variable" on that Moment
But there is a better option if you need to do something similar to what we did above they called "Instance Variable"
"Instance Variable" are linked to the Objects you just need to Pick the right object and modify the Variables
We add an instances Variable "Health" to the FamilyEnemy
Bullet On Collision with FamilyEnemy: Subtract 100 From "Health"
You see here automatically c2 knows to which enemy has to subtract 100 from Health as the enemy was picked on the Collision
But instead, if we do
Create "Global Variable = Health"
Bullet On Collision with FamilyEnemy: Subtract 100 From "Global Variable = Health"
This will not do anything as we just modified the Global Variable but there was no object or anything linked to it
So in resume for this type of Actions is better to use "Instance Variable" as they are linked to each object