Disabling The Mouse Cursor

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Does the free version of Fusion allow the mouse to be disabled while an action is being performed and then be re-enabled when the action is finished? All I see are the options to hide and show the cursor.

    Thanks in advance,

  • If you can hide and show the cursor that should be enough. For example if cursor is visible - do action. If it's hidden the action won't occur. It's like a flag either on or off, visible or not.

    Here's an example :Please login to see this attachment. :)

  • Bom dia!

    Eu preciso desabilitar o mouse somente em uma área. Você pode me ajudar a fazer isso?

    Obrigada

    1: Position an active object named "noMouseArea" where you need, with the width and heigth desired. Eventually make it invisible. This is the area where the mouse should be deactivated.

    2. Always: position an active object ( name it for example mouseFollower ) where the mouse cursor is. Eventually make it invisible. With this object you check for collision ( overlapping ) with the area described above.

    3. if "mouseFollower" overlaps "noMouseArea" : hide mouse cursor; set the flag "mouseEnabled" = false

    4. if "mouseFollower" does not overlap "noMouseArea": show mouse cursor; set the flag "mouseEnabled" = true

    5. when you perform a mouse click, even if the mouse is not visible, you could check if the flag "mouseEnabled" is true or not and take the properly action

    You need the flag "mouseEnabled". You can add it for example to the active object "mouseFollower".

  • Boa tarde!

    Não estou conseguindo programar esta parte: 3. if "mouseFollower" overlaps "noMouseArea" : hide mouse cursor; set the flag "mouseEnabled" = false

    Como eu defino o sinalizador?

    Eu transformei a área em objeto ativo, quando eu coloco que o mouse em contato com esse objetivo ativo e indico que a animação do mouse precisa parar, na lógica era para funcionar, mas não funciona. :(

  • I've made an example for you:
    Please login to see this attachment.

    Study it and then try to make a similar example yourself.

    For example, when the mouse enters in the "no mouse area", a text should appear stating "the mouse is disabled". And when the mouse is outside that area, the text should change in "the mouse is enabled".

    Regards,
    Sergio

  • Muito obrigada Sérgio! Você é gentil. Deu certo.

    Sou professora e estou fazendo um jogo para minha tese de doutorado. Uma colheita matemática para aplicar com as crianças.

    :love::love:

    Have fun, and if you have questions, just ask. However, try to embrace yourself the challenges. This is a fascinating way to mantain your brain active and young, while having fun ;)

    ( Diverte-te e, se precisares de ajuda, pede. Mas, primeiro, tenta enfrentar os desafios da programação por ti próprio. É uma forma fascinante de manter a mente treinada e jovem, e de se divertir ;) )

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!