diff --git a/scripts/system/html/js/entityProperties.js b/scripts/system/html/js/entityProperties.js
index d4202bd6bc..e5bb80ef2c 100644
--- a/scripts/system/html/js/entityProperties.js
+++ b/scripts/system/html/js/entityProperties.js
@@ -969,6 +969,102 @@ const GROUPS = [
},
]
},
+ {
+ id: "behavior",
+ label: "BEHAVIOR",
+ twoColumn: true,
+ properties: [
+ {
+ label: "Grabbable",
+ type: "bool",
+ propertyID: "grab.grabbable",
+ column: 1,
+ },
+ {
+ label: "Triggerable",
+ type: "bool",
+ propertyID: "grab.triggerable",
+ column: 2,
+ },
+ {
+ label: "Cloneable",
+ type: "bool",
+ propertyID: "cloneable",
+ column: 1,
+ },
+ {
+ label: "Follow Controller",
+ type: "bool",
+ propertyID: "grab.grabFollowsController",
+ column: 2,
+ },
+ {
+ label: "Clone Lifetime",
+ type: "number",
+ unit: "s",
+ propertyID: "cloneLifetime",
+ showPropertyRule: { "cloneable": "true" },
+ column: 1,
+ },
+ {
+ label: "Clone Limit",
+ type: "number",
+ propertyID: "cloneLimit",
+ showPropertyRule: { "cloneable": "true" },
+ column: 1,
+ },
+ {
+ label: "Clone Dynamic",
+ type: "bool",
+ propertyID: "cloneDynamic",
+ showPropertyRule: { "cloneable": "true" },
+ column: 1,
+ },
+ {
+ label: "Clone Avatar Entity",
+ type: "bool",
+ propertyID: "cloneAvatarEntity",
+ showPropertyRule: { "cloneable": "true" },
+ column: 1,
+ },
+ { // below properties having no column number means place them after two columns div
+ label: "Cast shadows",
+ type: "bool",
+ propertyID: "canCastShadow",
+ },
+ {
+ label: "Link",
+ type: "string",
+ propertyID: "href",
+ },
+ {
+ label: "Script",
+ type: "string",
+ buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadScripts } ],
+ propertyID: "script",
+ },
+ {
+ label: "Server Script",
+ type: "string",
+ buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadServerScripts } ],
+ propertyID: "serverScripts",
+ },
+ {
+ label: "Lifetime",
+ type: "number",
+ unit: "s",
+ propertyID: "lifetime",
+ },
+ {
+ label: "User Data",
+ type: "textarea",
+ buttons: [ { id: "clear", label: "Clear User Data", className: "red", onClick: clearUserData },
+ { id: "edit", label: "Edit as JSON", className: "blue", onClick: newJSONEditor },
+ { id: "save", label: "Save User Data", className: "black", onClick: saveUserData } ],
+ propertyID: "userData",
+ },
+ ]
+ },
{
id: "collision",
label: "COLLISION",
@@ -1055,97 +1151,6 @@ const GROUPS = [
},
]
},
- {
- id: "behavior",
- label: "BEHAVIOR",
- twoColumn: true,
- properties: [
- {
- label: "Grabbable",
- type: "bool",
- propertyID: "grab.grabbable",
- column: 1,
- },
- {
- label: "Triggerable",
- type: "bool",
- propertyID: "grab.triggerable",
- column: 2,
- },
- {
- label: "Cloneable",
- type: "bool",
- propertyID: "cloneable",
- column: 1,
- },
- {
- label: "Follow Controller",
- type: "bool",
- propertyID: "grab.grabFollowsController",
- column: 2,
- },
- {
- label: "Clone Lifetime",
- type: "number",
- unit: "s",
- propertyID: "cloneLifetime",
- showPropertyRule: { "cloneable": "true" },
- column: 1,
- },
- {
- label: "Clone Limit",
- type: "number",
- propertyID: "cloneLimit",
- showPropertyRule: { "cloneable": "true" },
- column: 1,
- },
- {
- label: "Clone Dynamic",
- type: "bool",
- propertyID: "cloneDynamic",
- showPropertyRule: { "cloneable": "true" },
- column: 1,
- },
- {
- label: "Clone Avatar Entity",
- type: "bool",
- propertyID: "cloneAvatarEntity",
- showPropertyRule: { "cloneable": "true" },
- column: 1,
- },
- { // below properties having no column number means place them after two columns div
- label: "Cast shadows",
- type: "bool",
- propertyID: "canCastShadow",
- },
- {
- label: "Script",
- type: "string",
- buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadScripts } ],
- propertyID: "script",
- },
- {
- label: "Server Script",
- type: "string",
- buttons: [ { id: "reload", label: "F", className: "glyph", onClick: reloadServerScripts } ],
- propertyID: "serverScripts",
- },
- {
- label: "Lifetime",
- type: "number",
- unit: "s",
- propertyID: "lifetime",
- },
- {
- label: "User Data",
- type: "textarea",
- buttons: [ { id: "clear", label: "Clear User Data", className: "red", onClick: clearUserData },
- { id: "edit", label: "Edit as JSON", className: "blue", onClick: newJSONEditor },
- { id: "save", label: "Save User Data", className: "black", onClick: saveUserData } ],
- propertyID: "userData",
- },
- ]
- },
{
id: "physics",
label: "PHYSICS",