https://camera-optical-zoom.blogspot.com/2024/02/accessing-functions-variable-from.html
Accessing A Function's Variable From Another Function