do something, when RELEASED the button INSIDE!

Dima_HHDima_HH Member, PRO Posts: 48
Hello,

how can i create a button, which do something after i release the button inside ?
I want to make a Button which you can press and if you move your finger pressed outside and release then the button do not a function.
I hope you know what I mean :)

Comments

  • artfishartfish Member, PRO Posts: 369
    add a +when touch is( inside) to your released rule
  • Dima_HHDima_HH Member, PRO Posts: 48
    i tryed but it doesnt work... :(
  • CaptFinnCaptFinn Member Posts: 1,828
    Thanks ... that just helped me solve a issue.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @Dima_HH

    try:

    Rule: When all conditions are valid:
    mouse position is inside and touch is released
  • Dima_HHDima_HH Member, PRO Posts: 48
    i made a rule:
    touch -is- released
    touch -is- inside

    change scene:.....


    it doesnt work -.-




  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    bumped because @Dima_HH was typing same time as my answer...

    Hi @Dima_HH

    try:

    Rule: When all conditions are valid:
    mouse position is inside and touch is released
  • Dima_HHDima_HH Member, PRO Posts: 48

    Hi @Dima_HH

    try:

    Rule: When all conditions are valid:
    mouse position is inside and touch is released
    IT WORKS!!! thank you very much :)
  • CaptFinnCaptFinn Member Posts: 1,828
    how can you be released and touch in inside?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    More likely, you'd use When [all] mouse position is inside touch is released, but that seems unnecessary since Touch is Released only triggers when the last touch is inside of the actor.
Sign In or Register to comment.