How to get the width of a cube in "coordinate units"

I have recently started to transpher my java game to unity, and am now struggling a little…

I need to get the width of a cube in “coordinate units”. Eg. (!) to move it exactly about its width.

I’d be really satisfied to get an exact solution as requested so that i could easily transpher my java code ode C#, but am of course open for any advice.

Thanks in advance :slight_smile:

The extents of any visible object are available from its renderer.

See Unity - Scripting API: Renderer.bounds