These are the two errors;
1067: Implicit coercion of a value of type Boolean to an unrelated
type String.1049: Illegal assignment to a variable specified as
constant.
I want to basically set it so, if mouse is click
the -y speed of symbol helicopter = variable ‘speed’
Any help? Thanks
This test doesn’t mean anything:
MouseEvent.CLICKis a constant and its value is always"click". So(MouseEvent.CLICK)will always betrue(testing a string returns true if this string is not null).To check if the mouse is down, you should write something like that: