Profile image

How do I make text on a label appear and disappear using input

3,268 Yoloooooo  16 days ago

Example: I want a text on a label to appear when ag1 is activated and disappear on deactivation

  • Log in to leave a comment
  • Profile image
    38.6k SILVERPANZER

    @KudaOni this is alpha

    16 days ago
  • Profile image
    19.4k KudaOni

    @SILVERPANZER I understand the color codes yes, but how about these parts(Highlighted by bold): <color=#FFFFFF{Activate1? "FF":"00"}>Text

    16 days ago
  • Profile image
    38.6k SILVERPANZER

    @KudaOni The coding is quite simple using the formula:

    <color=#FFFFFFFF>

    The first two digits are responsible for the color red

    The second two digits are for green.

    The third two digits are for blue.

    The last two digits are responsible for alpha (transparency).

    Each character can take the following values: 0,1,2,3,4,5,6,7,8,9, or A,B,C,D,E,F.

    16 days ago
  • Profile image
    38.6k SILVERPANZER

    @KudaOni In short, this HEX color code element can be replaced with 99.

    16 days ago
  • Profile image
    19.4k KudaOni

    @SILVERPANZER can I get an explanation as to what the "FF" does?

    16 days ago
  • Profile image
    3,268 Yoloooooo

    @SILVERPANZER thanks, did work

    +1 16 days ago
  • Profile image
    38.6k SILVERPANZER

    <alpha=#{Activate1? "FF":"00"}>Text
    or
    <color=#FFFFFF{Activate1? "FF":"00"}>Text
    or
    {Activate1? "Text":" "}

    +2 16 days ago