Ask coding questions

← Back to all posts
Functions not running.
IzanLarumbe (28)

Hi, i am making a game called SpainLovesPolitics. And i am making a function, but when i do function() it does not run automatically, it has to be runned by the user, how can i make it so it runs automatically?

Also here's the code:

Answered by JustARatherRidi (190) [earned 5 cycles]
View Answer
JustARatherRidi (190)

To do everything inside your Deseo function, add a couple of parentheses to the end of Deseo in the last line.

IzanLarumbe (28)

@JustARatherRidi I have already done that, it stills dont work.