Invalid access to 'global_position' and idk what to do

So I’m new to using Godot and I was following a tutorial on a game to get the hang of the engine, and I made sure that the tutorial was a Godot 4 tutorial, and I copied the code the same, but I keep getting the same error when I run the game, I can’t figure out what to do.

Please post your code as preformatted text instead of as a screenshot.

The problem is a typo on line 12:

%ShootingPoint.global_postion

This should say:

%ShootingPoint.global_position

sorry i will remember that for next time thank you not sure how i missed that but i works fine now.