ex350
|
  |
| Joined: 25 Mar 2014 |
| Total Posts: 11 |
|
|
| 07 Nov 2017 11:34 AM |
| Im making a game, and i'm wondering how i make so a code runs when i hover over a brick |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2017 11:36 AM |
@ex350
I know there is a way to do that, but I'm not exactly sure how. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2017 11:43 AM |
Use .Move() event to detect when the mouse has been moved by the user, and check if the target is the brick you want with: if mouse.Target.Name == "Name of the brick" then --do things end
|
|
|
| Report Abuse |
|
|