Bablo ResourcesDocs

Selecting & Editing Props

The Select tool picks the props you placed so you can change them. Selected props get the Move & Rotate Gizmo, and the right-click menu and the keys work on the whole selection.

Only props placed with the editor can be selected. Props of the GTA map have their own right-click menu, see GTA map props.


Selecting

InputAction
Left click a propSelects it, and only it.
Ctrl + left click a propAdds it to the selection, or takes it out.
Shift + dragDraws a box. The placed props inside are selected. Hold Ctrl when you let go to add them to the selection instead.
Double-click a propSelects it and opens the Transform panel for it.
Left click empty spaceClears the selection. With Ctrl held, the selection stays.
EscClears the selection, after closing menus and tools. See Camera & Controls.

A double-click that ends with the prop not selected, for example Ctrl + double-click on a selected prop, selects every prop of that model instead, like Select All Like This.

The top bar shows how many props are selected, for example 3 selected. The last prop you selected is the main one: the Local gizmo axes follow it, and Transform from an empty spot opens the panel for it.

A click does not have to hit a prop exactly. When it misses, the editor takes the nearest placed prop whose centre is close to the cursor on screen: within 1% of the screen for small props, up to 8% for large ones (pickMin and pickMax). A box catches a prop when its centre or a corner of its outline is inside the box on screen.

Clicking a prop of the GTA map clears the selection and shows That’s a GTA world prop - right-click it to erase or adopt it., at most once every 10 seconds. Clicking the handle of a light opens that light in the Light tool, see Lights.

The Box Select tool selects with a plain drag and also catches GTA props.


Highlights

An unselected placed prop under the cursor gets a white outline and box. Selected props get a light blue outline and box. The Place tool draws the outline of its preview in the same blue.

LUA
Config.Selection = {
    colorSelected = { 122, 173, 255 }, -- selection colour (r, g, b); the tool previews use it too
    colorUnderCursor = { 255, 255, 255 }, -- colour of an unselected prop under the cursor (r, g, b)
    hoverMs = 50, -- how often the prop under the cursor is looked up (ms)
    alwaysWirebox = true, -- draw a box around selected props even when the outline shows (outlines vanish with MSAA on)
    wireboxMax = 40, -- most selection boxes drawn per frame (12 lines each)
    wireboxAlpha = 210, -- box opacity (0-255)
    pickMin = 0.01, -- a click this close to a prop still picks it, however small it looks (share of the screen)
    pickMax = 0.08, -- the most click slack a big prop gets, so it cannot steal clicks from its neighbours (share of the screen)
    pickScanMax = 300, -- most props one click checks
    worldHintCooldownMs = 10000, -- least time between two "this is a map prop" hints (ms)
}

The outline does not show when MSAA is on in the graphics settings, which is why selected props get a box as well. Boxes are drawn for at most 40 selected props at a time. See Selection.


The right-click menu

A short click with the right mouse button opens the menu at the cursor. Holding the button looks around instead, see Camera & Controls. What the menu offers depends on what is under the cursor.

Right-clicking a placed prop that is not selected selects it first. Right-clicking a prop that is part of the selection keeps the whole selection, and the menu works on all of it. The menu does not open while you place a prop or drag the gizmo.

Placed props

ItemWhat it does
CloneCopies the selection and puts the copies next to it, shifted along the world X axis by the width of the selection plus one grid step (0.5 m). The copies become the selection.
Clone On The SpotCopies the selection in the same place. The copies become the selection, ready to drag away.
Set On GroundDrops every selected prop straight down until its base rests on the surface below. Also Shift + G.
Zero RotationTurns every selected prop back to 0 on all three axes.
Return To OriginMoves every selected prop back to where it was first placed. The rotation stays.
TransformOpens the Transform panel for the prop you right-clicked, see The Transform panel.
Select All Like ThisSelects every placed prop with the same model that is loaded around the camera.
CopyCopies the selection to your clipboard. Also Ctrl + C.
CutCopies the selection to your clipboard and deletes it. Also Ctrl + X.
Freeze / UnfreezeHolds the props in place, or lets the game’s physics move them.
Enable Collision / Disable CollisionWhether players and vehicles collide with the props.
Show / HideMakes the props visible or invisible. An invisible prop keeps its collision.
DeleteDeletes the selection. Also Delete.

The three switches show a dot that lights up when the prop you right-clicked has that property on. Clicking one sets the whole selection to the opposite of that prop: right-click a frozen prop and Unfreeze unfreezes every selected prop.

More about some items:

  • Clone uses Config.EditActions.cloneGapSteps (1.0) times Config.Gizmo.gridStep (0.5 m) as the gap.
  • Set On Ground searches from 5 m above each prop (groundProbeUp) down to 250 m (groundProbeDepth), so a half-buried prop lands on top. It stands props on the ground, on other props and on plants, and keeps their position across the map and their rotation. Props with nothing below stay where they are. When that goes for all of them: No ground found under the selection, so nothing moved.
  • Return To Origin uses the spot where the prop was placed, pasted, cloned or adopted. Moving it later does not change that spot. A prop without one gives This object has no saved origin.
  • Delete keeps the prop in the database for a while, so undo can bring it back. See Undo & Redo.

Every item that changes props is one step in the undo history.

Empty spot

Right-click a spot without a prop:

  • Without a selection, the menu only has Paste.
  • With a selection, it has Paste and the items that work on the selection: Clone, Clone On The Spot, Set On Ground, Zero Rotation, Return To Origin, Transform, Copy, Cut and Delete. Transform opens the panel for the main prop of the selection.

Paste puts the clipboard at the spot you right-clicked. It is greyed out while the clipboard is empty.

GTA map props

Right-click a prop of the GTA map. The menu shows its spawn name at the top and offers:

ItemWhat it does
Adopt into the mapTurns the GTA prop into a placed prop of your working map, at the same spot. The original is hidden, and the copy can be selected, moved and edited like your own props: 1 GTA prop(s) are now map objects you can edit. It counts toward the object limit of the map. For copying an adopted prop, see Copy, cut and paste.
PastePuts the clipboard at the spot you right-clicked.
Erase just this oneHides this prop: Hid 1 GTA prop(s).
Erase all of this model nearbyHides every prop of the same model within Config.Hides.radius (10 m) of it, as one erase.

Erased props are saved to your working map and listed under Erased World Props in the Prop Browser, where you can restore them. Adopting and erasing are both steps in the undo history. To erase many props by clicking them, use Delete Mode.

When a prop can’t be changed, the menu says why under the name and greys out the adopt and erase items:

NoteWhy
Another resource controls this prop, so it stays.The prop belongs to another script.
This prop has streamed out, there’s nothing left to remove.The prop is no longer loaded.

Vehicles and peds get the empty spot menu.

Until you adopt it, a GTA prop can’t be selected, moved, turned, copied, cloned, frozen or edited in the Transform panel. The only changes are erasing it and adopting it.

Locked props

A locked prop can’t be selected: clicking it gives Object is locked., and boxes and Select All Like This skip it. Delete mode refuses it as well. Right-clicking it shows a menu with only Unlock.

Lock a prop with Locked in the Transform panel. It leaves the selection once the change is saved.


Copy, cut and paste

  • Copy (Ctrl + C) puts the selected props on your clipboard: their models, rotations and properties, and where they stand from each other.
  • Cut (Ctrl + X) does the same and deletes them. One undo brings them back.
  • Paste (Ctrl + V) places the clipboard as new props on your working map, in the same layout, and selects them. With the key, the group lands around the point under the cursor. When the cursor points at the sky, it lands 20 m in front of the camera (Config.Pointer.missDistance, see Cursor probe). From the right-click menu, it lands around the spot you right-clicked.
MessageWhy
That needs a selection. Pick an object first.Copy, cut, delete or set on ground with nothing selected.
You haven’t copied anything yet. Copy an object before pasting.Paste with an empty clipboard.

Pasted props count toward the object limits like placed props, see Placing Props.

The clipboard stays while you are on the server, also when you close the editor or switch your working map. To copy props from one map to another, copy them, switch the working map in the top bar and paste.

An adopted prop keeps the model of the GTA prop. When that model is not in the catalogue (data/props.json or Config.CustomProps), copies of it can’t be saved: Paste, Clone, Clone On The Spot, copying with Alt + drag and the Array Tool give That model isn’t allowed. Moving and editing the adopted prop itself works.


The Transform panel

Open it with Transform in the right-click menu, or double-click a prop. It edits one prop, not the whole selection.

FieldWhat it is
Spawn nameThe model of the prop, at the top.
PositionX, Y and Z in metres.
RotationX, Y and Z in degrees.
FlagsFrozen, Collision and Visible work like the switches in the right-click menu. Locked locks the prop, see Locked props.
AlphaHow see-through the prop is, from 0 (invisible) to 255 (solid).
Render DistanceHow far away the prop is drawn, in metres. It is kept between 1 and 1000 (Config.LodRange, see Models).

Type a value and press Enter or click elsewhere, then press Apply. Nothing is saved before Apply, and each Apply is one undo step. Close the panel with its close button or Esc. A position outside the area the editor accepts gives Invalid position.

The panel shows the values from the moment it opened. If you move the prop with the gizmo while the panel is open, Apply puts it back to the values in the panel. Reopen the panel after moving the prop.

The panel has no switch for gravity: props get it from Config.ObjectDefaults, off by default. Labels for props are set in the Workshop, see Placed Props.


Keys

KeyAction
DeleteDelete the selection.
Ctrl + CCopy.
Ctrl + XCut.
Ctrl + VPaste at the cursor.
Shift + GSet the selection on the ground.
GSwitch the gizmo between Move and Rotate.
Ctrl + ZUndo.
Ctrl + Y or Ctrl + Shift + ZRedo.
XCancel placing or the active tool.
EscBack out one step.

These are the defaults. Every editor can change them in the Workshop’s Keybinds tab, see Keybinds. They work in cursor mode and with the game camera, not while you type in a text field. While you drag with the gizmo, the editing keys do nothing.

There is no key that points the camera at the selection. Select in world, in the Created tab of the Prop Browser and in the Workshop’s Placed Props, selects a prop and moves the camera to look at it.


Settings

LUA
Config.EditActions = {
    groundProbeUp = 5.0, -- Ground: the search starts this far above each prop, so half-sunk props still land on top (m)
    groundProbeDepth = 250.0, -- Ground: ... and reaches this far down (m)
    cloneGapSteps = 1.0, -- Clone: the copy lands the selection's width plus this many grid steps to the side
    focusFactor = 1.8, -- Focus: camera distance per metre of the selection's size
    focusMin = 8.0, -- Focus: never closer than this (m)
    focusMax = 300.0, -- Focus: never farther than this (m)
    focusDefault = 10.0, -- Focus: distance used when the selection's size cannot be measured (m)
    focusSteepAngle = 12.0, -- Focus: a view within this many degrees of straight up or down counts as steep
    focusPitch = 30.0, -- Focus: a steep view is replaced by one looking down this many degrees
}

The focus settings set where Select in world puts the camera. See Edit actions.