Welcome to the community or the entire website, and please explain a bit more of what the problem is.
Is your problem that the laser isn’t turning off?
yes that is the problem. I have it set so the code is a property. if the numbers given are the same as the property it should work. but it doesnt
Well, in the last
if block, you forgot to put
get property for the “code” property.
If one of these worked please mark a solution. Also you spelled fourth wrong (its fourth not forth)