Dear green foot users,
I have made a game where the baby can kick the ball in 8 directions.
Now I'm trying some code but it's not going well. When the baby is touching the ball and the space bar is being held I will like the baby to hold the ball.
//if(there is detection with baby, -10, 0) && and space bar is pressed)
{ // then set the balls x and y position to the babys position}
