1
resposta

Consegui resolver a bola presa assim

function bolinhaNaoFicaPresa(){
    if (xBolinha  < 9){
    xBolinha = 30
    }
  if (xBolinha> 591){
    xBolinha = 570


}}
1 resposta

Show irmão. Ajudou muito essa função!