Answer:
Sprite movement is essential in video games. And we need to control the sprite movement when we make a video game. There are various methods used. And one way is to create a press event that operates using two keys. You need to Add two blocks" repeat until" for making the sprite move through the path in a smooth manner. Now Add two blocks "change x by" through which you can make the sprite move to the right or to left. And for each of the blocks, "repeat until" you are required to quote a condition here which can make the sprite move, however, not till a certain key is being keyed in or pressed.
Step-by-step explanation:
Please check the answer section.