Should I be able to call a function from within a function?

(Python) When I call a function that I have defined from within another function that I have defined, I get an error:
TypeError: Cannot read property ‘value’ of undefined

Should I be able to call a function from within a function? Is this related to global variables not working?

2 Likes

It does work in some levels like What in Carnation.
Can you give me an instance where this happens and maybe a screenshot?

1 Like

You should. Maybe its a flaw in your code. Could you please post your code in FAQ formatting or send a screenshot as @Hellenar suggested?

2 Likes