Get button under mouse

I’m trying to get the button the mouse is hovering and highlighting

    public void OnPointerEnter(PointerEventData eventData)
    {
        print(EventSystem.current.currentSelectedGameObject.name);
    }

This prints null as I highlight my buttons with the mouse, how can I get the hovered/highlighted buttons?

Using this seems to work

    public void OnPointerEnter(PointerEventData eventData)
    {
        print(eventData.pointerCurrentRaycast.gameObject.name);
    }