I upgraded to beta and in the process of trying to get the code working but I'm stuck on this particular part.
if event is InputEventMouseButton and event.pressed and event.button_index == BUTTON_LEFT:
I have two more if statements in the same script and all are giving me the same "Identifier "BUTTONLEFT" not declared in current scope" error. But when I look at at the docs under the "Mouse Motion" section. it gives an example where they use the same "BUTTONLEFT". I know the docs aren't stable and can include old examples/documentations in certain sections. Does anyone know what to do here?
Thanks in advance!