Expected indented block after "if" block

sory j hawe problem

Same thing, you’re just missing tabs after the if is_on_floor(): line.
I assume it should be like that:

	if is_on_floor():
		if direction == 0:
			animated_sprite_2d.play("stanie")
		else:
			animated_sprite_2d.play("bieg")
	else:
		animated_sprite_2d.play("skok")

By the way, you have a typo in the function call - is_of_floor() instead of is_on_floor().
In case you still have issues - you can msg me privately, also in Polish :slight_smile: