I have tried casting but i dont know what im am going to plug in the object.
What is the custom event in?