Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
This is a very hard question to answer with such little information. Generally, you should add a little bit more description (e.g. what is the code supposed to do) and code (post the actual code) where appropriate (which it is with this question).
While what samspade said is very true, I would imagine you're referencing the object not the instance. Don't use obj_enemy_name.whatever to reference anything.