@ Patricia3d, thanks, but I’m not sure what that means.
@ Monster, I’m doing this in a script, because the mouse may rollover any object, which the script picks up, & I think (or thought) I have that part working, so I’m not sure how to use an actuator in concert with the script.
import Rasterizer as r
import GameLogic as g
objects = g.getCurrentScene().objects
# SET FONT INVISIBLE, LATER TRY TO MAKE IT VISIBLE ON MOUSEOVER, any object
# trying to get whatever is rolled over, to make line to label:
# get controller
c = g.getCurrentController()
# get object which is attached to the controller
o = c.owner
# Get the sensor by the name "MouseOver" which is attached to the controller
mOver = c.sensors["MouseOver"]
# get the hit object
new = mOver.hitObject
#contRolloverObject = g.getCurrentController()
#own = contRolloverObject.getOwner
print "before rollover object"
print "after object"
#pointA = own.position
pointA = new.position #objects[own].position
pointB = objects["OBFont"].position
color = (0,1,0)
#objects["OBFont"].setvisible(1) # not right way to set it visible
r.drawLine(pointA, pointB, color)
Test_HG1x4_TwoMonkeys2with1StaticLineToLabelOnMouseOverFromAnyObject.blend (705 KB)