The Court has two primary considerations when determining what is in the best interests of the child.
The first is the benefit to the child of having a meaningful relationship with both parents
The second is the need to protect the child from psychological or physical harm from preventing exposure or subjection to abuse, neglect or family violence
The Court places greater weight on the second consideration, being the necessity to protect the child from harm.
Read more about the best interests of a child here: https://justicefamilylawyers.com.au/family-law/child-custody/best-interests-of-the-child/
If you're asking whether "Can one parent stop another from seeing their child?", you should read this: https://justicefamilylawyers.com.au/child-custody/can-one-parent-stop-another-from-seeing-their-child/