# Play On Enter

## Introduction

{% hint style="info" %}
Part of the [Interaction Tools](https://kb.heathen.group/old-kb/toolkit-for-ui-and-ux/unity/learning/core-concepts/interaction-tools) of the UX Complete asset
{% endhint %}

A simple component that plays the configured sound when the pointer enters. This uses Unity's IPointerEnterHandle.

## Definition

### Fields and Attributes

| Type        | Name        | Notes                                 |
| ----------- | ----------- | ------------------------------------- |
| AudioSource | output      | used to play the sound                |
| AudioClip   | sound       | the sound to be played                |
| float       | volumeScale | the scale of the volume for this play |
