Why when I add functions into an array it plays all the functions

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Dragon20C

Okay I will try to simplify it, so when I create an array called shapes with functions inside it, for what ever reason even though im not using the array it runs all of the functions inside of the array now that doesnt make sense to me since its not being used so it shouldn’t run, I came from a python background so does arrays act differently in godot or am I doing something wrong.

Link to code in question: Legobet88 🀄 Trustworthy Agen Situs Slot Online Bet88 Terpercaya Ter- Gacor Hari Ini 2024
here is video of problem: https://www.youtube.com/watch?v=5bFEjR1T4k0&feature=youtu.be

:bust_in_silhouette: Reply From: jgodfrey

GDScript is not Python, even though they share a similar syntax. Take a look at this post and see if it helps: