Loops/Infinite: Difference between revisions
GDScript
(add RPL) |
(GDScript) |
||
Line 1,036:
<syntaxhighlight lang="gb basic">10 print "SPAM"
20 goto10</syntaxhighlight>
=={{header|GDScript}}==
{{works with|Godot|4.0.1}}
<syntaxhighlight lang="gdscript">
extends MainLoop
func _process(_delta: float) -> bool:
print("SPAM")
return false # _process loops until true is returned
</syntaxhighlight>
=={{header|GlovePIE}}==
|