I found an even easier way:
- turnTurn on
snap to cusp nodes
&snap to cusp nodes andsnap to object centers
snap to object centers. - grabGrab vertical guide.
- snapSnap star center to vertical guide.
- rotateRotate until the top node of star snaps to vertical guide.
It should be perfectly aligned now.