We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

How can i disable the move, scale and rotation events.

Home Forums Puzzles How can i disable the move, scale and rotation events.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49483
    jayt1
    Participant

    Hi there. :)
    I’m really new to puzzles and i have a problem.
    I have a simple app for moving, scaling and rotating an object using three different buttons which are using the ‘when clicked’ events. But at the moment, if i click on the move button and then i click on the scale or the rotate button, the events are triggered at the same time.
    Is there a way to change between a move, scale and rotate event so that only one event is triggered at a time?

    Many thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #49486

    you may make a variable to store the last clicked control and highlight it… and make one when clicked puzzle to control the 3 transforms according to the variable value B-)

    see the attached screen shot (just substitute with your values, I’ve used a current scene for demonstration)

    Attachments:
    You must be logged in to view attached files.
    #49491
    jayt1
    Participant

    Thank you very much Muhammad. :) That worked perfectly! :good:
    I have provided an updated screenshot of the puzzles i’m using, just in case anyone else might need to do this.
    Any further comments on improvement are most welcome.

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.