So my example is.
The GotoDest function returns a target point to goto based on the random number it gets.
EDIT*** Sorry I know the Begin Paly is not connected. You would need to connect that for this to work.