Animating special effects on ItemList

Godot Version

4.4

Question

I am looking at ItemList — Godot Engine (stable) documentation in English and I would like to extend it further.

  1. Imagine games such as Warcraft 3 that have spells and items. When you use a spell, for example, there will be a clockwise cooldown animation. Or for spells that could be auto-casted, there will be a rotating sparkling effect to indicate that auto-casting is set. For Godot 4, how could this be achieved? Is it possible to retrieve the exact x,y coordinate of items in ItemList so “special effects” could be placed in those coordinates?

  2. Could items in ItemList be an animated gif? (Or what would be the preferred way to animate an item?)

Help > UI Help > Animation

An ItemList is just a list of selectable items (aka text with an optional icon and tooltip) If you want to have more control then don’t use one. Create custom items so you can have full control over them and add them into a VBoxContainer inside a ScrollContainer.

Godot does not support gif by default. I’ve not tested them myself but there are plugins like Godot GIF (4.4.1) - Godot Asset Library that let you import them.