Browse Search Popular Register Upload Rules User list Login:
Search:
Mouse over object

Image:
screenshot of the scene

Author: Lukkanj

Group: Default

Filesize: 14.36 kB

Date added: 2023-06-18

Rating: 5

Downloads: 548

Views: 308

Comments: 0

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Detect mouse over object by using collider

Type scene.my.Mouse._Get on console to get entityID of object that the mouse is hovering over

In Script Box:
+ _OnMouseEnter -- call when the mouse enters object
+ _OnMouseOver -- call every tick like postStep
+ _OnMouseExit -- call when the mouse is no longer over object
+ _entity -- entityID of current object that the mouse is hovering over
+ _checkLayer -- select which layers to check
+ _checkRadius -- radius of circle following cursor
+ _checkTick -- check frequency

[youtube]http://www.youtube.com/watch?v=msi-VkwASKc[/youtube]
Last edited at 2023/06/18 14:05:04 by Lukkanj
Please log in to rate this scene
edit
Similar scenes
Title: ForkLift (mouse controlled)
Rating: 6.7273
Filesize: 321.29 kB
Downloads: 2348
Comments: 2
Ratings: 5
Date added: 2010/03/09 05:46:11
Made with: Algodoo before v1.8.5
Rating: rated 6.7
download
Title: 0 Gravity Probe
Rating: 5
Filesize: 429.31 kB
Downloads: 1271
Comments: 0
Ratings: 1
Date added: 2022/07/07 22:05:14
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Full automatic & mouse aimed gun
Rating: 9.0345
Filesize: 29.59 kB
Downloads: 127041
Comments: 48
Ratings: 64
Date added: 2009/04/28 18:09:31
Made with: Phun
Rating: rated 9
download
Title: Mouse Controlled Crane V1.2
Rating: 5
Filesize: 32.98 kB
Downloads: 1924
Comments: 2
Ratings: 1
Date added: 2012/01/19 17:25:25
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
Title: Mouse controlled crane V2
Rating: 6
Filesize: 32.85 kB
Downloads: 1406
Comments: 3
Ratings: 3
Date added: 2011/01/30 18:04:37
Made with: Algodoo before v1.8.5
Rating: rated 6
download
Title: Mouse Controlled Mouse
Rating: 5
Filesize: 173 kB
Downloads: 2226
Comments: 18
Ratings: 1
Date added: 2017/12/06 05:30:46
Made with: Algodoo v2.1.0
Rating: rated 5
download