Custom Button Collision in Widgets not a thing? Question

Are these buttons supposed to be used in UMG Widgets, or be applied on meshes in the game?

If they are going to be used for Widgets the solution best suited would be hitboxes. You can however use mouse trace and use that as a detection method instead, however I am not sure how well that would work with Widgets. I know that it is simple to use if you are going to have the actual material displayed on a mesh.