What is the best approach for an array of animations? help

An array can store any type of data, including textures.

But I don’t quite understand why you need to wrap texture acquisition in a function. Do you want to use something other than an array index as input?

You can get a texture without a function by specifying the required index, similar to how you launched the required sequencer from an array.