LogicMachine Forum
Hide visual objects in the display - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Hide visual objects in the display (/showthread.php?tid=6318)



Hide visual objects in the display - ALEJANDRO - 19.02.2026

I'm not sure if I'm posting this question in the right section, but I'll ask anyway.

I've created a screen that uses visual icons to display alarms. I've attached an image.

When the object representing the alarm is ON (1), a red alarm should appear, like the one in the image.

The problem I'm having is that when the object is OFF (0), I don't want a different colored icon to appear. I simply want the alarm to be hidden, and I don't know how to do that without CSS or Lua scripting.

Is there any way to do this? Thank you very much.


RE: Hide visual objects in the display - admin - 19.02.2026

You can use a fully transparent image as an icon.


RE: Hide visual objects in the display - ALEJANDRO - 19.02.2026

You are totally right.

I designed a transparent PNG image by paint 3D and it worked.