Under the latest restrictions in New South Wales, indoor basketball courts are not currently open. That being said, outdoor public gatherings (including exercise) are limited to two people (excluding members of the same household). This means you are able to attend an outdoor basketball court provided you are only with one other person, that person is a member of your household and you are within 5km of your home.