Better Way to Set This Up & Fix Editor Errors?

Drag a node from the bottom Cast and type isValid.

Place the isValid check in front of set MoveForward.

Connect IsValid to set.

The error means: You are trying to set MoveForward variable on NULL reference.