You could deactivate the "Button Script" component with a "Set Property" action. Just drag the button script component title into a state and choose "enabled" and set it unchecked/false.
You could probably do the same with the "recast target" in the same script.
Sorry, I explained me badly.
What you see is a grid where you can to build by pointing the area with the cursor.
The fact now is the buttons enter in conflict with the placer.
(behind the highlighted button there's the green tile placer).
To proceed I need to avoid the tile placer working while the cursor is pointing an UI element.