1. Use long sticks or chopsticks to lure ants
If there are many ants in the sugar jar, take a few chopsticks and stick them deep into the bottom of the jar to get the ants out. Wait until the ants are all over the chopsticks, then lift the chopsticks out and shake off all the ants. Do this until there are no more ants in the jar. Alternatively, you can lean the chopsticks against something so the ants can crawl out on their own.