Z#=0 translateentity перс,0,+Z#,0 If EntityCollided (перс,куб) and keydown(200) Then Z#=1 else Z#=0 End If