# Event-like condition checking?

**URL:** https://forum.highend3d.com/t/event-like-condition-checking/5623
**Category:** Maya
**Tags:** mel
**Created:** [January 2, 2003, 3:39am UTC](https://forum.highend3d.com/t/event-like-condition-checking/5623 "2003-01-02T03:39:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zenaphex](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/z/f17d59/32.png) [@zenaphex](https://forum.highend3d.com/u/zenaphex)
#### Post date: [January 2, 2003, 3:39am UTC](https://forum.highend3d.com/t/event-like-condition-checking/5623/1 "2003-01-02T03:39:26Z")

</div>

I was looking through the library guide and wasn't sure where to look but I looked under some of the categories but no luck. This is what I am looking for:

Let's say someone selects a face on a poly. I want to be running a script that listens for like a poly component selection. I scripted in other programs like Flash and Director and they have events like "on mouseClick { ...statements... }" for example (it doesn't look exactly like that in the other software but you get the idea _wink_).

Any ideas? Thanks!

---

<div class="post-metadata">

### Author: ![deane](https://forum.highend3d.com/user_avatar/forum.highend3d.com/deane/32/58795_2.png) [@deane](https://forum.highend3d.com/u/deane)
#### Post date: [January 2, 2003, 1:25pm UTC](https://forum.highend3d.com/t/event-like-condition-checking/5623/2 "2003-01-02T13:25:42Z")

</div>

Look in the documentation for scriptJobs. I have never had the time to experiment with them, but I believe that is what you need.
