The attacker is allowed to get in, the defender is not.
Attacker stands 6 meters from the basket and the attacker tries to get in front of it. For this he gets 2 points. If this does not work, he/she looks for an opportunity behind the basket. If he scores behind the basket he gets 1 point.