The green light and the pedestrians on the crosswalk of the road you are turning onto decide the answer. The green light lets you enter the intersection and start turning right. But when leaving the intersection, a driver who is turning must not get in the way of pedestrians crossing the roadway. The pedestrians are already on the crosswalk, so you enter the intersection, stop before the crosswalk, let them cross, and only then finish the turn