-
Beta Was this translation helpful? Give feedback.
Answered by
hx2A
May 15, 2024
Replies: 1 comment 3 replies
-
Can you try https://py5coding.org/reference/sketch_exit_sketch.html If your button called that method it might do what you need it to do. py5 has no I just checked our Tips for Processing Java Users page and it does not mention the exit/exit_sketch rename. I'll open an issue so I remember to add that later. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
villares
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you try
exit_sketch()
?https://py5coding.org/reference/sketch_exit_sketch.html
If your button called that method it might do what you need it to do.
py5 has no
exit()
method because it would conflict with the Python builtin function. Instead it is renamed toexit_sketch()
.I just checked our Tips for Processing Java Users page and it does not mention the exit/exit_sketch rename. I'll open an issue so I remember to add that later.