Button


the last thing I wanted to add to my level was a button in which the user could press and an event would occur, and after sone research i found out that its surprisingly simple. first I created a custom blueprint and formed a basic button using two cube components as well as a box collider . In terms of the buttons blueprint chain again it was rather simple, I used  the "on component begin overlap" input linked to a "cast to bp motion controller" so the box collider would interact with the motion controller. to get the button to move down when pressed i used "moved component to" to decrease the value of the  y axis of the button component.