Question about properties in IDE...

0 favourites
  • 6 posts
  • I'm trying to figure out how to do one of two things. All of this is in the IDE:

    1. Have a property I can gray out or disable user input to depending on the setting of another property.

    2. Have a property that only appears when another property is set a certain way.

    Either option would work for me. I've looked thru other plugins, the sdk documentation, and the forum, but I can't figure out how to do this.

    It's not a mandatory thing for my plugin to work, but it would make one of my properties a little more elegant to set for the user.

  • For part one, use a flag variable. Such as:

    if (touchControls are activated) {

    set flag variable to true to true


    if (flag variable = true) {

    activate option


    The same could be used for the second part of your question,

    if property is true (your option is enabled), then spawn object (your option button you want hidden) at x,y area.

  • mepis

    Thanks for the reply; however, that's not what I'm trying to do.

    I'm wonder if there is any way to affect how a property displays in the IDE properties bar; to either grey out, lock, or hide a property depending on the settings of another property. Example:

    Properties bar:

    1-Activate Foobar on: Single Click/Double Click/Custom Button

    2-Custom Button: a/b/c/etc...

    The idea would be to hide/lock/grey out the Custom Button property if Activate Foobar is not set to Custom Button.

    Hope that makes a bit more sense.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ahh... yes. Sorry. I completely misunderstood you. That, I'm not going to be able to help with. Sorry!

  • TiAm

    The control of IDE by SDK was very limited, all your requests could not be done today.

  • rexrainbow

    Okay, nice to know for sure. I can work around it. Thanks rex.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)