ReachedTarget (Event)

From Legacy Roblox Wiki
Revision as of 16:01, 29 August 2010 by >Camoy (Example added)
Jump to navigationJump to search
ReachedTarget ( )
Description Fired when the Rocket comes within TargetRadius of the Target. This is used to make the rocket work, such as make an explosion when it flies near the Target.
Member of: [[RBX.lua.RocketPropulsion (Object)|RocketPropulsion]]
Example
game.Workspace.Part.RocketPropulsion:connect(function()
  print("Reached target")
end)