# Listeners within classes

**URL:** <https://forum.kirupa.com/t/listeners-within-classes/174575>\
**Category:** Uncategorized\
**Created:** [January 6, 2006, 8:34pm UTC](https://forum.kirupa.com/t/listeners-within-classes/174575 "2006-01-06T20:34:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![medicated](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@medicated](https://forum.kirupa.com/u/medicated)\
**Post date:** [January 6, 2006, 8:34pm UTC](https://forum.kirupa.com/t/listeners-within-classes/174575/1 "2006-01-06T20:34:42Z")

</div>

How do I implement a listener within a class? I am instantiating other objects within side of another class. A sorta parent and child thing. How do I go about making the parent class subscribe to the child class. I want to leave all of the coding at a class level and keep it off of the main timeline. Does that make sense? Anyone have any helpful hints?
