Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

It is not working

I coded this below, and when i click on the canvas, it is not working. Is there an extra command I need to add?

2 years ago
You are viewing a single comment. View All
1
Muffinlavania
Muffinlavania

I get an error, probably because of this

screen.onkey(tF, "up") screen.onkey(tB, "down") screen.onkey(tL, "left") screen.onkey(tR, "right")

I would do

screen.onkey(tF, "up arrow") screen.onkey(tB, "down arrow") screen.onkey(tL, "left arrow") screen.onkey(tR, "right arrow")

If it still doesnt work after this fix i can still help, but this be it!

2 years ago
1
DEMONul1234
DEMONul1234

@Muffinlavania
Actually "Up" works fine as an key name, must be sth wrong with the code

2 years ago