Bản khảo sát nghiên cứu: Cho chúng tôi biết trải nghiệm của bạn khi sử dụng Blockly
Bắt đầu khảo sát
chặn > IMovable > isMovable
Phương thức IMovable.isMovable()
Xác định xem liệu khu vực này có thể di chuyển hay không.
Chữ ký:
isMovable(): boolean;
Trường hợp trả lại hàng:
boolean
Đúng nếu có thể di chuyển.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-22 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-22 UTC."],[[["This document describes the `isMovable()` method of the `IMovable` interface in Blockly."],["The `isMovable()` method determines if an object implementing the interface is movable, returning `true` if it is and `false` otherwise."]]],["The `isMovable()` method, part of the `IMovable` interface, determines if an object is movable. It returns a boolean value. If the object can be moved, the method returns `true`; otherwise, it would imply `false`, indicating the object is not movable. The method has no input parameters.\n"]]