গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > মার্কার > সেটকারনোড
Marker.setCurNode() পদ্ধতি
মার্কার অবস্থান সেট করুন এবং আপডেট পদ্ধতি কল করুন. isStack কে true তে সেট করা শুধুমাত্র তখনই কাজ করবে যদি newLocation একটি স্ট্যাকের সবচেয়ে বেশি আউটপুট বা পূর্ববর্তী সংযোগ হয়।
স্বাক্ষর:
setCurNode(newNode: ASTNode): void;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
নতুন নোড | ASTNode | মার্কার নতুন অবস্থান. |
রিটার্ন:
অকার্যকর
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-05 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-05 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `setCurNode` method updates the marker's location within the Blockly workspace based on the provided ASTNode."],["It triggers a visual update of the marker to reflect its new position and can optionally indicate if it's on a stack's top."],["The method accepts a single argument, `newNode`, which represents an ASTNode defining the marker's target location."]]],["The `setCurNode` method of the `Marker` class updates the marker's location. It accepts an `ASTNode` as `newNode`, which represents the marker's new position. The method also triggers an update of the marker after the location change. If `isStack` is true, the `newNode` must be at the top of an output or previous connection within a stack. This method does not return any value.\n"]]