TouchTransmitter
An internal object used by networking and replication code to transmit BasePart.Touched and BasePart.TouchEnded events.
Memory category | Instances |
---|
Member index 0
Description
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. 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.
History 5
- 79 Change Tags of TouchTransmitter from [preliminary, NotCreatable, NotBrowsable] to [NotCreatable, NotBrowsable]
- 78 Change Tags of TouchTransmitter from [NotCreatable, NotBrowsable] to [preliminary, NotCreatable, NotBrowsable]
- 79 Change Tags of TouchTransmitter from [preliminary, NotCreatable, NotBrowsable] to [NotCreatable, NotBrowsable]
- 69 Change Tags of TouchTransmitter from [preliminary, NotCreatable] to [preliminary, NotCreatable, NotBrowsable]
- 47 Add TouchTransmitter