PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

TouchTransmitter

Show deprecated

TouchTransmitter

Show deprecated

An internal object used by networking and replication code to transmit BasePart/Touched and BasePart/TouchEnded events.

The TouchTransmitter object named ‘TouchInterest’ is created and parented to a BasePart when the BasePart/Touched or BasePart/TouchEnded events are listened (connected) to.

Removing the TouchTransmitter will prevent the touched events from working. The TouchTransmitter object can also be removed exclusively on the client (when Workspace/FilteringEnabled is set to true). This will prevent collisions from models the client has network ownership of (such as the player’s character) from registering.

Note, in almost all circumstances developers should disconnect the connection using RBXScriptConnection/Disconnect method rather than removing the TouchTransmitter. Otherwise the connection will not be cleaned up which can cause performance issues over time.

Properties

Functions

Events