How to edit the Actor blueprint and achieve the function of clicking the run button to automatically align the Actor to the ground?

How to edit the Actor blueprint and achieve the function of clicking the run button to automatically align the Actor to the ground?

Assuming ground is below the actor - line trace from the actor along the negative world Z axis, get normal from Hit Result and derive the rotator from Z or from ZY.