![]() It also sets the ClickDetector/MaxActivationDistance|maximum distance players can interact with the ClickDetector to 10 studs and set’s the ClickDetector’s ClickDetector/CursorImage|CursorImage to: The code sample below demonstrates the functionality of a ClickDetector and its properties and events.įirst the code creates a ClickDetector and set’s its Instance/Parent|parent to the door. For instance, setting the property to 2287179377 or this URL changes the cursor icon to:Ĭode Samples Creating a ClickDetector Door To change the ClickDetector’s cursor icon, set the property to the asset id or URL of the image you would like to use. If this property is left blank, the ClickDetector will use the default icon: The CursorIcon sets the mouse icon that will be displayed when the Mouse/mouse hovers over this ClickDetector.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |