Changed the syntax to return from an action.
Reimplemented collision using the actions.