Learning Agents 5.4 Questions

Hi, I am trying to figure out how to use the “Make Completion on Episode Steps Recorded” function properly

I cant seem to figure out how to get the step count to increase, I am trying to make it so the agent does a maximum of 100 steps then starts a new episode

REWARD
I am also trying to get the step count so I can give minus rewards for every step it takes

My end goal is for the RL Agent to be able to learn to walk to the “goal” that I have set. I have made 5 raycast as its inputs and also the goal location, distance and the outputs are going forward/backwards, left/right. My rewards are the screenshot below

image

Please tell me whats wrong as I am trying to figure out how to do this for the first time