Announcement

Collapse
No announcement yet.

How do I stop a click from falling through Scaleform HUD?

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

    How do I stop a click from falling through Scaleform HUD?

    In the mobile product I'm working on, we have a window pop up on screen as part of the a chat feature. We want to make it so that touches on that window don't fall through the screen and click on something else in the environment. Right now, the best we've been able to manage is disabling ANY clicks to the environment when the window pops up, but we don't want to go that far.

    Any tips? Thanks.

    #2
    I had the same issue, what I did was put an input zone the same size as the chat window, that does nothing, behind the chat window. Although this was not in Scalform, but done is kismet.

    Comment


      #3
      Alternatively you can check for the touch in your script, right where you try to DeProject it, like your Hud or PC. In there you can just check for the 2d position of the touch and ignore it if the position was inside your window(s).

      Comment


        #4
        Thanks. That's a bit out of my skill set, but now I have something useful to say when I move this problem up the chain.

        Comment

        Working...
        X