Add update to functions

how do you add a game update to a function block?
game update Function

1 Like

You can’t do that in blocks. What are you trying to do?

1 Like

I dont think you can, unfortunately.

the student wants to continuously create projectiles on a second level that is part of a function. the first level is a maze with no projectiles to spawn

2 Likes

Yea, you would need to switch to JS for that. If you want to stick with blocks, I would do something like this:
image
And you probably want to use a on game update every {number} ms because the on game update runs every frame so it will spawn quite a lot of projectiles.

1 Like