thats the thing, u have to check each frame, and i dont want to do that. running the same script Times 200 times times 60 FPS is too much to calculate for nothing.
You could have a list of characters that are currently walking, and put a timer for the step spawning. If the timer time is bigger than the footprint spawning time, then update the character list to only those who walk, then instantiate the footprint model under each character of the list.
Another way is to only check the characters within a certain distance from the active camera, this way you won’t have to display unnecessary footprints.