For function, or repeat counter

Function, that count how much repeading code is repeating.

For a shotgun, for example. You can just could put all the bullet spawn into one "repeat’ function, and then shift accurcy of every bullet by amount of how much code was repeated.

And don’t do this:

Do you mean this?
https://wiki.gdevelop.io/gdevelop5/events/repeat/

Yes, I meant this function, but I meant ability to cound hom many times it was repeated
In the expamle I added, I not just repeat bullet spawn, but tweak them everytime by consistent value.
So instead of adding 8 actions of “this goes 15° left; this goes 10° left; this goes 5°…” and so on, I just can add “shoot 8 times, but every time bullet goes slightly right”

You can use variables in loops.