logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Change layer

    Scheduled Pinned Locked Moved
    Help and Support
    4
    6
    430
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BryanB
      Bryan
      last edited by

      Is it possible to change layer random?
      Pressing a tripper on one of the layers and change to a random layer.

      1 Reply Last reply Reply Quote 0
      • Wazk MobileW
        Wazk Mobile
        last edited by

        In the transform category (advanced) there is a move to layer behaviour

        1 Reply Last reply Reply Quote 0
        • Aidan_FireA
          Aidan_Fire
          last edited by

          If you want to move to another layer entirely, where the object appears on top/bottom and it can only collide with objects in that layer, then you can use the random number behaviour then have a bunch of if behaviours for each number and move it to a layer using that (one layer for each random number). If you just want to change whether it appears on top or not, then just use random number then find the Set Z Layer behaviour in the transform tab I think, you can set Z layer to random number result. Hope this helps, if you don't understand I can send pics or something later today.

          Jack8680J 1 Reply Last reply Reply Quote 0
          • Jack8680J
            Jack8680 @Aidan_Fire
            last edited by

            You can use 'execute sequence' set to 'random' and have a 'change to layer' behaviour connected below that for each layer you want it to choose from; it will activate a random one of these behaviours.

            BryanB 1 Reply Last reply Reply Quote 0
            • BryanB
              Bryan @Jack8680
              last edited by

              @Jack8680 is it possible to send a pic? It would be very kind of you. Thank you very much.

              Jack8680J 1 Reply Last reply Reply Quote 0
              • Jack8680J
                Jack8680 @Bryan
                last edited by Jack8680

                @Bryan just move to layer behaviours, one for each layer, each with a different layer selected:
                0_1500632686163_IMG_3509.PNG

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post