how to simulation mouse button down in script editor?

i set canvas actor no parent, when i click on button that is child of view, how to contact with canvas actor?
i mean, is that a way simulation click canvas actor when i click button at the same time?
Thanks in advance
i mean, is that a way simulation click canvas actor when i click button at the same time?
Thanks in advance