Stop cube and then continue
Do you mean gameplay stop?
If yes make a variable.give it a name like gameplay.
now make that variable True to make it boolean
import bge
cont = bge.logic.getCurrentController()
own = cont.owner
w_key = cont.sensors[&quot;w_key&quot;] # This is to get the keyboard sensor

#The gameplay variable make it playable or not:
gameplay = True

if gameplay == True and w_key.positive:
    apply.movment([0,1,0], True)
elif gameplay == False and w_key.positive:
    print(&quot;You can't move!&quot;)