{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiesifnqh245tyhfp5ubhckcyfy6t3h736jxetqaxm3u5sddqvvgby",
"uri": "at://did:plc:dxjzgxe7cvirxkwfjr2tjspt/app.bsky.feed.post/3megqe7pbqpg2"
},
"path": "/t/does-jme3-attach-a-unique-id-to-every-element-of-a-scene/49410#post_9",
"publishedAt": "2026-02-09T14:21:42.000Z",
"site": "https://hub.jmonkeyengine.org",
"tags": [
"Here"
],
"textContent": "A Control can be added to any Spatial in your game, usually it is used for custom behavior - so using it to give your object a custom int ID is not it’s main purpose but it should do the job. Here is the general documentation on Controls.\n\nSince I don’t even have the SDK I am not aware how it works, but I assume you need to write your Control with the ID field first and compile it. After that I would assume there is a menu to add a control to a spatial. Maybe someone more familiar with the SDK might be able to guide you here.",
"title": "Does JME3 attach a unique ID to every element of a scene?"
}