0

Animation help

So, my question is this, after it reaches the edge, why does it only move one pixel down before stopping? If you could help that would be great! https://code.sololearn.com/Wdvd0jkIyyth/?ref=app

20th Mar 2021, 3:10 AM
Mason Adams
Mason Adams - avatar
1 Resposta
+ 4
You make second if condition inside of first if condition. So you should close first if condition block, then check second condition. Line 12: Close if block } Line 20: Delete }
20th Mar 2021, 3:27 AM
Vadivelan