Try something like this. If you press UP, it'll print a corresponding message. The VSYNC 1 is important because SmileBasic is so fast, you don't want it to flood you with the printed messages. I leave you to compare BUTTON() with BUTTON(3). Finally the green text below the diamonds is a simpler code that does the exact same thing.
1そうだね プレイ済み