I don't think that's the issue here. I think what's going on is that:
1. Operator presses emergency stop button (hardwired safety circuit)
2. While emergency stop button is pressed, operator presses button on HMI to start a sequence. Sequence does not start because hardwired emergency stop circuit is tripped
3. Operator resets hardwired safety circuit
4. Sequence automatically starts because button had already been pressed on the HMI
This is not good - in machine safety standards it explicitly calls out that equipment should not restart upon a safety system reset.
So, OP wants to hide a button on the HMI while the safety circuit is tripped, so that they can't press this button, so that the machine won't restart when the safety circuit is reset.
I don't have any experience with the equipment specified, but I'm sure there is a way to animate the visibility of a button, such that it is invisible when the safety circuit is tripped (provided that the PLC has an input signal to know when the safety circuit is tripped).
However, my very strong advice would be that this is not the correct approach, or at least, not a complete approach. A HMI takes a second or two to update - what happens if the e/stop is pressed and the operator presses the button at the same instant, after the safety circuit is tripped but before the HMI updates to remove the button? What happens if a SCADA system can also write to the button bit in the PLC?
The best approach is to modify the PLC logic to ignore the button if the safety circuit is not healthy, or to continuously force reset the machine sequence/action while the safety circuit is not healthy. Then, no matter what buttons are pressed or signals sent, the machine will not restart upon safety circuit reset.
Also, OP, welcome to the forum!