How do i make buttons in hud widget hit test invisible temporarily in bp?
hey guys, i have this issue so i need my buttons to be hit test visible so i can click on them at the start, but then afterwards i want to disable them because they are interfering with my line trace that follows my mouse cursor
its causing some weird bug where my building skips the building proxy stage entirely and just spawns a collisionless mesh of itself?
is there a way to disable the hit test of all my Hud widgets buttons when i am in ''building placement mode'' and then re-enable them again after????
oddly enough its only the scroll box buttons causing me this headache, every other button doesn't seem to effect it??
so any other ways to fix this, im all ears
You just need to define a variable, like "isbuilding" when the player is building and then set it off after that action has finished. From that you can reference whatever widget you desire and use set visibility. All you really need is a reference tree, ie you reference your main widget, which has a reference to whatever widget the buttons include.
answered Feb 12 '19 at 12:44 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here