How to make an idle detector

Im trying to make it so if you dont omve forf 2 seconds an idle animation starts

2 Likes

i summon the great @Galactian

1 Like

Use a NOR gate going into a timer (Inputs for the NOR gate are the movement buttons)

2 Likes

I have heard about the “NOR Gate” but idk how to use it

2 Likes

Can you help with it? @CodeAlpaca

1 Like

A NOR gate is activated when both its inputs are inactive
So if both inputs aren’t on then it acts like an Always

1 Like

I don’t understand, can you send an image of how to do this?

1 Like


Here’s a helpful link

3 Likes

I dunnostand but can u send me the answer though?

1 Like

I don’t know how to explain it any simpler.
The NOR gate (Logic Gate) is only active when its Input(s) are inactive. Meaning the NOR gate will output a signal. This is helpful for you because when no keys are pressed that means the NOR gate will activate, playing the idle animation.

3 Likes

Oh btw the switch is supposed to turn itself off

1 Like

Im back, so i tried this and it kinda didnt lett my other animations to run.

Are they all the same priority? If so change them to different numbers.

I dunno but they are diff animation

image
image
Change the priorities like I said.

Ohh i didnt know there was a priority thing

1 Like

TheMoreYouKnow is i took your solution to @Pixel_Name1

The system I gave works, you must have just implemented it wrong (no offense). But, still glad to help how i can

1 Like