I’ve just figured out a solution an issue I was having and thought I’d post here to see if I can get a clearer understanding of what’s going on
The following Python code wasn’t working as expected online
mouse.getPressed()[0] == True
The JavaScript autotranslation was using triple equals
mouse.getPressed()[0] === true)
Changing the JavaScript translation to double equals (==) appears to have solved the issue. My understanding is that mouse.getPressed()[0] should return a boolean - is there a reason that JavaScript shouldn’t return true with strict type checking?