Problem with function call

I recently have tried to build a simple animation at the playground section, however I have had an issue with the method (.on (“click”, function call).
The problem is:
I couldn’t find an option to add the function without a parenthesis, which causes me to call the function automatically instead by a click.

Could any one help me to solve the problem ?
Uploading: Screenshot_20221227-010506_Grasshopper.jpg…

1 Like

If anyone posts the solution, @me because I’m having the same problem

Hi…
Until rightnow, I didn’t receive any answer. However I’ve found a solution since there’s no option to insert a function without parenthesis…
The solution is call an arrow function "()=>{}"so than, use a variable as argument.

Or also putting direct the function with parenthesis, just like that: