How to print/show a custom Error

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

How do you make the engine show an error if some condition happens?

Do you mean in the console output?

Eric Ellingson | 2019-10-10 06:00

I think you can simulate an error, the game will stop running.

usurun | 2019-10-10 13:21

Like this

usurun | 2019-10-10 13:25

1 Like
:bust_in_silhouette: Reply From: luislodosm

To display errors in the debug panel:


To display errors in the output panel:


Additionally to break operation assert(condition)

Wakatta | 2021-05-16 11:31

1 Like