What does the idiom a ball is out of your court mean?

It isn't an idiom. The idiom you are thinking of is probably the ball is in your court, which means that the next move is yours. It's a basketball idiom -- the court is the playing field, and if the ball is in your court, it is your move.