XY Time Activation

Hi guys

How could i activate something after being 1 second in a certain X Y posicion ?

I have attached a patch for an example, I,d like to activate the filestream after the red quad spend 1 second in the black quad position .

thank you

Timeactivation.v4p (9.9 kB)

2 * Change (Animation) , AND (Boolean) , NOT (Boolean) and finally Monoflop (Animation)

Hi again , thanks for the nodes kalle

i think i did not explain properly , sorry

i,d like it to give a 1 when red quad is on black quad only not around so i guess i need more than one xy point to determine ?

and the other thing is that the filestream should be activated after spending 1 second on the same position , so the red quad may pass by the right position (black quad) but if it does not spend 1 second there nothing will happen .

I did tried with change , notbolean and monoflop but did not find out the way to do it , monoflop gives the order after some time when it has been activated but not gives a 1 after a quad spend some time in the activation area , i hope i explain a bit better ,
how could that be done ?
cheers

Timeactivation3.v4p (44.6 kB)

i don’t get the point what you mean with “blue” and “black.”

but the other thing -> see patch

Timeactivation3.v4p (45.7 kB)

i,d like it to give a 1 when red quad is on black quad only not
around so i guess i need more than one xy point to determine ?

Silly question… why do you have an AND between the X and the Y position off the SAME object? (mouse and black quad) Seems rather useless ;)

A quad has an X positon and Y postion AND it is scaled!! (X-scale and Y-scale) with those 4 things you can calculate and decide if your mouse is in it.

Now, the trouble is that the mouse is also a quad, so that has also 4 things to take in account. (but I have small trick for that)

I ALSO want to sugest the Intersect (3D quad Line) or the Button (3D Quad) nodes.

And check my Basic Button Tutorial to understand how it works!! (think I need to redo it for Quads :) )

ForColorSound.v4p (23.0 kB)

thanks a lot ;D