Scene-free drag service. All node-API calls removed: the host drives input/physics ticks via tick_input() and tick_physics(). Hosted by GridPlacementHost.
Source: addons/grid_placement/services/drag_service.gd
Syntax
class DragService extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
drag_data | Property | |
configure | Method | |
get_runtime_issues | Method | |
start_drag | Method | |
stop_drag | Method | |
set_test_mode | Method | |
is_dragging | Method | |
tick_input | Method | |
tick_physics | Method | |
update_drag_state | Method | |
set_states | Method |
Guides that use this class
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot