how to fix this

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

Parser Error: The function ‘change_scene()’ returns a value, but this value is never used. (warning treated as error)

:bust_in_silhouette: Reply From: kidscancode

This is not an error, it’s a warning. It means that it’s not necessarily a problem, just something that you should consider. change_scene() has a return value - OK if it works, or something like ERR_CANT_OPEN, if there’s a problem. By ignoring the return value, you may be missing important information.

You can choose how warnings are handled via the settings: