Text that Triggers into Text box when object is interacted with

Is it through a custom event?