How to move 1 animation set without moving all other animation set/sprites out of their main position

Godot Version

4.4
in animatedSprite2d
how Do i Center or change position of each animations without moveing them all, for example what i mean is my Idle and Walk animation r Centered but Flying Animation because is a little bit on up left how do i center Flying animation without changing Idle?

  1. How did you set them up?
  2. Are they all in one texture?

nah they r all seperate Textures they r Frames but in different Size/ All of idle Sprite size is 320x320 px while Fly is 400x320

Easiest thing to do would be to edit the frames in Krita or Gimp so they’re the same size.

1 Like

Hi, i didn’t find anything that let you change the position a single animation from editor but there are some option.
It would be great if you just try to edit your sprite, if not possible you can try fixing the issue by changing the offset of the animated sprite to something else.
like this :

	if flying:
		animated_sprite_2d.play("Fly")
		animated_sprite_2d.offset = Vector2(5.5,0)
	else:
		animated_sprite_2d.play("Idle")
		animated_sprite_2d.offset = Vector2.ZERO

Of course this should work it would be great if you just change your sprite or edit it