I have no idea what you mean by clicking the object in the lower part of the screen but
the way that you stick something to it is action
Set Object To Another Object's Position
and there is an option for an imagepoint there, and you either type the number or name of the imagepoint after choosing the object
the way you refer to the coordinates in any case where you can type an expression is
objectname.Imagepointx("imagepointname") (or the number without quotes)
and objectpoint.imagepointy("imagepointname")