Announcement

Collapse
No announcement yet.

Why does UMG mouseinput work but then some mouseover events won't on static mesh until click on view

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Why does UMG mouseinput work but then some mouseover events won't on static mesh until click on view

    Case:
    Game begins with UMG start screen.
    User clicks on start.
    Widget collapses.
    There is a static mesh object that responds to click/release and mouseover inputs.
    Here are the bound events:
    Click/Release: Print string.
    OnBeginMouseOver: Change mesh mat to matA + change cursor to hand.
    OnEndMouseOVer: Change mesh mat to matB + change cursor to default.

    OnBegin/EndMouseOver changes the material no problem, BUT it will not change the cursor icon!

    However: once I click on the viewport everything works fine.

    So what input state am I in after clicking on the UMG start button, collapsing the widget, and mousing over the object?
    And what changes when I click the viewport THEN interact with the static mesh?

    Thanks y'all!

    #2
    Ok. figured it out! I needed to use Set Focus to Viewport after collapsing the widget! Woot!

    Comment

    Working...
    X