What does Invalid access to property or key 'postion' on a base object of type 'CharacterBody3D (character_body_3d.gd)' mean and how do i fix it

Godot Version

4.5

Question

Here the script if need and video https://www.youtube.com/watch?v=-Nna0OAckzE&t=117s

func move_to_nav(delta: float, _speed: float = SPEED):
	update_time -= delta
	if update_time <= 0.0:
		update_time = UPDATE_TIME
		if target:
			set_target(target.postion)

It means you misspelled position :slight_smile:

2 Likes

oh yeah that makes sense (yes cant spell that well)

No worries. I can spell, but you wouldn’t know it if you watched me type :slight_smile:

When you get that particular error, it usually means that you are trying to access something in the class that doesn’t exist. In my code, that usually means I messed up typing the name.