1
resposta

Consegui resolver a bola presa assim

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


}}

Garanta sua matrícula hoje e ganhe + 2 meses grátis

Continue sua jornada tech com ainda mais tempo para aprender e evoluir

Quero aproveitar agora
1 resposta

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