> For the complete documentation index, see [llms.txt](https://docs.flipabit.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flipabit.dev/animation/position-animation.md).

# Position animation

## X or Y animation

<div align="left"><img src="https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukOA-gTJz1w_gCa6%2Fgif_animation_setx2.gif?alt=media&amp;token=21d14d10-896e-4510-9679-f35dbe936e87" alt=""></div>

1. Select widget
2. Select Insert > Action
3. Double click Action cell on highlighted row in Actions Editor
4. Select Actions > Animation > Set X (or Set Y)
5. Enter value for X (or Y) argument (from 0 to 1)

## X and Y animation

<div align="left"><img src="https://963067965-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MIJW5nbmYRaSNWePAac%2F-MIxu2KP4MClY9gv_q2W%2F-MIxukO8QjUkzuyi78PJ%2Fgif_animation_setposition2.gif?alt=media&amp;token=9f5bea41-baa4-49b5-9e70-054986b62c76" alt=""></div>

1. Select widget
2. Select Insert > Action
3. Double click Action cell on highlighted row in Actions Editor
4. Select Actions > Animation > Set position
5. Enter value for X and Y arguments

## Texture animation

To animate texture only:

1. Select widget
2. Select Insert > Action
3. Double click Action cell on highlighted row in Actions Editor
4. Select Actions > Animation > Set texture X (or Set texture Y)
5. Enter value for X (or Y) argument (from 0 to 1)
